home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / OutOfContextMenus / Source / CCrashedBehavior.h < prev    next >
Encoding:
Text File  |  1999-06-25  |  658 b   |  32 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    CCrashedBehavior.h                 ©1999 Eric Traut
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include "COffscreenBehavior.h"
  8.  
  9.  
  10. class CCrashedBehavior : public COffscreenBehavior
  11. {
  12.     public:
  13.         CCrashedBehavior(CShadowWindow &        inShadowWindow);
  14.  
  15.         virtual Boolean
  16.         RenderToGWorld(    StGWorldLocker &        inBackingLocker,
  17.                         StGWorldLocker &        inRenderingLocker);
  18.  
  19.         virtual Boolean
  20.         ShouldEnableRestoreMenu(void);
  21.  
  22.         virtual void
  23.         HandleEvent(    EventRecord *        ioEvent, 
  24.                         Boolean *            ioResult);
  25.  
  26.     private:
  27.         UInt32        mCrashState;
  28. };
  29.  
  30.  
  31.  
  32.